//
//  BottomToolBar.m
//  danpin
//
//  Created by Hongyu Zhang on 15/11/14.
//  Copyright © 2015年 chuangjia. All rights reserved.
//

#import "BottomToolBar.h"

@implementation BottomToolBar

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void)drawRect:(CGRect)rect
{
    //画线
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetLineWidth(context,0.5);//线宽度
    CGContextSetRGBStrokeColor(context, 0.5, 0.5, 0.5, 0.4);//线条颜色
    CGContextMoveToPoint(context, 0, 0);
    CGContextAddLineToPoint(context, self.frame.size.width, 0);
    CGContextStrokePath(context);
}

@end
